package com.nicho.pojo;

import java.io.Serializable;
import java.util.ArrayList;

/*
 * @Author: 姜东浩
 * @Date: 2021-11-08 17:15:16
 * @LastEditors: 姜东浩
 * @LastEditTime: 2021-11-10 10:30:41
 * @Description: 超级管理员类
 */
public class SRoot implements Serializable {

    // 超级管理员ID
    private String sRootId;
    // 超级管理员密码
    private String password;
    // 所有教师集合
    private ArrayList<Teacher> allTeacherList = null;
    // 所有学生集合
    private ArrayList<Student> allStudentList = null;
    // 所有课程集合
    private ArrayList<Course> allCourseList = null;

    private static final long serialVersionUID = 1L;

    public String getsRootId() {
        return sRootId;
    }

    public void setsRootId(String sRootId) {
        this.sRootId = sRootId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public ArrayList<Teacher> getAllTeacherList() {
        return allTeacherList;
    }

    public void setAllTeacherList(ArrayList<Teacher> allTeacherList) {
        this.allTeacherList = allTeacherList;
    }

    public ArrayList<Student> getAllStudentList() {
        return allStudentList;
    }

    public void setAllStudentList(ArrayList<Student> allStudentList) {
        this.allStudentList = allStudentList;
    }

    public ArrayList<Course> getAllCourseList() {
        return allCourseList;
    }

    public void setAllCourseList(ArrayList<Course> allCourseList) {
        this.allCourseList = allCourseList;
    }

    @Override
    public String toString() {
        return "SRoot [sRootId=" + sRootId + ", password=" + password + ", allTeacherList=" + allTeacherList
                + ", allStudentList=" + allStudentList + ",allCourseList=" + allCourseList + "]";
    }

    public SRoot() {
    }

    public SRoot(String sRootId, String password) {
        this.sRootId = sRootId;
        this.password = password;
    }

}